#include "Book.hpp"
#include <iostream>

int main()
{
    try
    {
        Book test("12-34-56-xx", "test", "wml", Genre::fiction);
        std::cout << test;
    }
    catch (Book::Invalid_ISBN &e)
    {
        std::cerr << "ISBN输入错误！" << '\n';
    }
}